package com.member.common.utils;

import com.member.common.utils.spring.SpringUtils;
import org.redisson.api.RedissonClient;

/**
 * Redis工具类
 */
public class RedisUtils {

    private static final RedissonClient CLIENT = SpringUtils.getBean(RedissonClient.class);

    /**
     * 获取客户端实例
     */
    public static RedissonClient getClient() {
        return CLIENT;
    }
}
